const mongoose = require('mongoose')

// 留言板
const Schema = mongoose.Schema
const MessageSchema = new Schema({
    author: {
        type: String,
        required: true
    },
    msg: {
        type: String,
        required: true
    },
    timeStamp: {
        type: String,
        required: true
    }
})

module.exports = mongoose.model('Message', MessageSchema)